#pragma once

#include <string>
#include <iostream>

using namespace std;

class illegalParameterValue
{
    public:
    explicit illegalParameterValue(const string &theMessage = "Illegal parameter value") {
        message = theMessage;
    }

    void outputMessage() const { cout << message << endl; }

    private:
        string message;
};

class queueEmpty
{
    public:
        explicit queueEmpty(const string &theMessage =
                "Invalid operation on empty queue") {
            message = theMessage;
        }

        void outputMessage() const { cout << message << endl; }

    private:
        string message;
};
